<template>
  <div class="data">
    <statistical v-if="user.role_id == 1"/>
    <information v-else/>
  </div>
</template>

<script setup name="home">
  import Statistical from '@/components/home/statistical'
  import Information from '@/components/home/information'

  import { useStore } from "@/hooks/store/useStore";

  const { user } = useStore()

</script>
